import { IPSAppViewEngineParam } from './ipsapp-view-engine-param';
import { PSModelObjectImpl } from '../../psmodel-object-impl';

export class PSAppViewEngineParamImpl extends PSModelObjectImpl implements IPSAppViewEngineParam {
  get appViewLogicName(): string {
    return this.M.appViewLogicName;
  }

  get codeName(): string {
    return this.M.codeName;
  }

  get ctrlName(): string {
    return this.M.ctrlName;
  }

  get dynaModelFilePath(): string {
    return this.M.dynaModelFilePath;
  }

  get memo(): string {
    return this.M.memo;
  }

  get name(): string {
    return this.M.name;
  }

  get paramType(): string {
    return this.M.paramType;
  }

  get userCat(): string {
    return this.M.userCat;
  }

  get userTag(): string {
    return this.M.userTag;
  }

  get userTag2(): string {
    return this.M.userTag2;
  }

  get userTag3(): string {
    return this.M.userTag3;
  }

  get userTag4(): string {
    return this.M.userTag4;
  }

  get value(): IModel {
    return this.M.value;
  }

  get cls(): string {
    return 'PSAppViewEngineParamImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'app.view.IPSAppViewEngineParam' || cls == 'view.IPSUIEngineParam') return true;
    return super.instanceof(cls);
  }
}
